public class Empolyee extends Person{
    public String office;
    public double salaries;
    public String date;
    Empolyee(String name,String adress,String phonenum,String email, String office,double salaries,String date){
        super(name,adress,phonenum,email);
        this.office = office;
        this.salaries = salaries;
        this.date = date;
    }
    public String toString(){
        return name + " " + adress + ' '+phonenum+' '+' '+email+' '+office+' '+salaries+' '+date;
    }
}
